/** Interface for the Repository of Property objects
 *
 *  @author Scott Monahan
 *  @version $Id$
 *  
 *  File last changed on $Date:$ by $Author:$ in $Rev:$
 *
 */

package info637.pprc.repository;

import java.util.List;

import info637.pprc.model.Property;

public interface IPropertyRepository {

	List<Property> findByPublicFilterData(
		String address, String city, String state, String zip, String monthlyRent
	);
	
	List<Property> findByAdminFilterData(
		String propertyName, String tenantName, String balance
	);
	
	Property findByPropertyId(String propertyId);
	
	boolean addProperty(Property property);
	
	boolean updateProperty(Property property);
	
	boolean isEmpty();
}
